<?php
/**
 * 核心Db框架
 * 中间件配置先进后出（栈）
 * @author sunhaoqiang(shqdev@163.com)
 * @time: 2019-08-25 16:38
*/
namespace config;

use script\Conf;

class Middleware extends Conf
{
    protected $data = [
        'global' => [
            'app\middleware\JsonAPI',
            'app\middleware\Test',
        ],
        // 'route' => [
        //     "/middle" => [
        //         'app\middleware\Test',
        //     ]
        // ]
    ];
}